<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
<title>选择商品</title>
<link rel="icon" href="favicon.ico" type="image/ico">


<meta name="author" content="yinqi">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/materialdesignicons.min.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
</head>
  
<body data-logobg="color_8" data-sidebarbg="color_8">
<div class="layout-web">
  <div class="layout-container">
	  <%@include file="innav.jsp"%>
    
    <!--页面主要内容-->
    <main class="layout-content">
      
      <div class="container-fluid">
        
        <div class="col-md-12">
        	<div class="card">
        			<div class="card-header"><h4>基本样式</h4></div>
        			<div class="card-body">
        				<form class="form-horizontal" action="dispacommond.action" method="post" >
							<input name="outid" type="hidden" value="${outid}"/>
							<input name="inputid" type="hidden" value="${inputid}">
	                  <div class="form-group">
	                    <label class="col-xs-12" >选择商品</label>
						  <br> <br>
	                    <div class="col-xs-12">

	                      <div class="help-block">
							  <select name="cogid">
								  <c:forEach var="commcods" items="${commcods}">
									  <c:forEach var="invens" items="${invens}">
										  <c:if test="${commcods.gid==invens.gid}">
								  			<option value="${commcods.gid}">${commcods.gname}</option>
										  </c:if>
									  </c:forEach>
								  </c:forEach>
							  </select>

						  </div>
							<br> <br>
							<input class="form-control" type="text" id="conum" name="conum" placeholder="输入数量..">
							<div class="help-block"></div>
							<p><b style="color: red">${ms}</b></p>
	                    </div>
	                  </div>
	                  
	                  <div class="form-group">
	                  	<label class="col-xs-12" ></label>
	                    <div class="col-xs-12">
	                      <button class="btn btn-primary" type="submit">提交</button>
	                      <button class="btn btn-info" type="reset">重置</button>
	                    </div>
	                  </div>
	                </form>
        			</div>
        	</div>
        </div>
        
      </div>
      
    </main>
    <!--End 页面主要内容-->
  </div>
</div>

<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/perfect-scrollbar.min.js"></script>
<script type="text/javascript" src="js/main.js"></script>
</body>
</html>